Skip to content

fix: fix duplicate notification button on Android 13+#107

Open
ouabing wants to merge 1 commit into
doublesymmetry:mainfrom
ouabing:fix-duplicate-button
Open

fix: fix duplicate notification button on Android 13+#107
ouabing wants to merge 1 commit into
doublesymmetry:mainfrom
ouabing:fix-duplicate-button

Conversation

@ouabing

@ouabing ouabing commented May 31, 2024

Copy link
Copy Markdown

I've noticed some custom systems like ColorOS 13+ (default system on OnePlus and Oppo devices) still support forward and rewind actions, however KotlinAudio will try to add additional custom actions if it's on Android 13+(as https://developer.android.com/about/versions/13/behavior-changes-13?hl=zh-cn#playback-controls suggests), which causes duplicate actions on such kind of devices.

This PR avoids add duplicate controls to exoplayer when we already added custom action buttons.

20240531-144645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant